]> dgit.raspbian.org Git - gnome-shell.git/commit
Notice style transitions that don't change how StThemeNode paints
authorOwen W. Taylor <otaylor@fishsoup.net>
Thu, 26 Aug 2010 18:10:46 +0000 (14:10 -0400)
committerOwen W. Taylor <otaylor@fishsoup.net>
Mon, 30 Aug 2010 17:40:12 +0000 (13:40 -0400)
commit5e7c25e136f28c2263770f86e1942b0baea080fd
tree8cb18040ab54c96de4c4863aba1f3388297e319d
parentb9f9dd948aa2683061127ddf6848edf39f3707e2
Notice style transitions that don't change how StThemeNode paints

Add st_theme_node_paint_equal() and use that to do two things:

 1) Avoid animating transitions where nothing changes.
 2) Copy cached painting state from the old theme node to the new
    theme node.

https://bugzilla.gnome.org/show_bug.cgi?id=627083
src/st/st-border-image.c
src/st/st-border-image.h
src/st/st-shadow.c
src/st/st-shadow.h
src/st/st-theme-node-drawing.c
src/st/st-theme-node-transition.c
src/st/st-theme-node.c
src/st/st-theme-node.h
src/st/st-widget.c